public class CouplingExample {
    public static void main(String[] args) {
        UserDataProvider userDataProvider = new MySQLDBProvider();
        UserManage userManage = new UserManage(userDataProvider);
        System.out.println(userManage.getUserInfo());

        UserDataProvider WSProvider = new WebServiceProvider();
        UserManage WSManage = new UserManage(WSProvider);
        System.out.println(WSManage.getUserInfo());
    }
}
